﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DEMO_TEMP1
{
    public partial class Form1 : Form
    {
        string user_id = String.Empty;
        public Form1(string user)
        {
            InitializeComponent();
            this.user_id = user;
        }

        //private void button1_Click(object sender, EventArgs e)
        //{
        //    ScanMAWB sm = new ScanMAWB(user_id);
        //    sm.Show();
        //    this.Close();
        //}

        //private void button2_Click(object sender, EventArgs e)
        //{
        //    Form2 re = new Form2(user_id);
        //    re.Show();
        //}

        private void button3_Click(object sender, EventArgs e)
        {
            ScanMAWB sm = new ScanMAWB(user_id);
            sm.Show();
        }

        private void menuItem1_Click(object sender, EventArgs e)
        {
            Login Ln = new Login();
            Ln.Show();
            this.Close();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            ScanMAWB sm = new ScanMAWB(user_id);
            sm.Show();
            this.Close();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            Form2 re = new Form2(user_id);
            re.Show();
        }
    }
}